<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::CombinedInteractionDynamics Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_combined_interaction_dynamics.html">CombinedInteractionDynamics</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_combined_interaction_dynamics-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::CombinedInteractionDynamics Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This is the class for combining several interactions dynamics, which share the particle loop but are independent from each other, aiming to increase computing intensity under the data caching environment.  
 <a href="class_s_p_h_1_1_combined_interaction_dynamics.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="particle__dynamics__algorithms_8h_source.html">particle_dynamics_algorithms.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_interaction_dynamics.html">SPH::InteractionDynamics</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7f379164d726bdda7cb804b92f682bcf"><td class="memItemLeft" align="right" valign="top"><a id="a7f379164d726bdda7cb804b92f682bcf"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>CombinedInteractionDynamics</b> (<a class="el" href="class_s_p_h_1_1_interaction_dynamics.html">InteractionDynamics</a> &amp;dynamics_a, <a class="el" href="class_s_p_h_1_1_interaction_dynamics.html">InteractionDynamics</a> &amp;dynamics_b)</td></tr>
<tr class="separator:a7f379164d726bdda7cb804b92f682bcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_interaction_dynamics"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_interaction_dynamics')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_interaction_dynamics.html">SPH::InteractionDynamics</a></td></tr>
<tr class="memitem:a7d757e98a171eb8d845732d7d5035310 inherit pub_methods_class_s_p_h_1_1_interaction_dynamics"><td class="memItemLeft" align="right" valign="top"><a id="a7d757e98a171eb8d845732d7d5035310"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>InteractionDynamics</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> &amp;sph_body)</td></tr>
<tr class="separator:a7d757e98a171eb8d845732d7d5035310 inherit pub_methods_class_s_p_h_1_1_interaction_dynamics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a477499ce3f12bda4231e88b4e0abe3bf inherit pub_methods_class_s_p_h_1_1_interaction_dynamics"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_interaction_dynamics.html#a477499ce3f12bda4231e88b4e0abe3bf">exec</a> (Real dt=0.0) override</td></tr>
<tr class="separator:a477499ce3f12bda4231e88b4e0abe3bf inherit pub_methods_class_s_p_h_1_1_interaction_dynamics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18f083982b63f32ffb2b382569366b36 inherit pub_methods_class_s_p_h_1_1_interaction_dynamics"><td class="memItemLeft" align="right" valign="top"><a id="a18f083982b63f32ffb2b382569366b36"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>parallel_exec</b> (Real dt=0.0) override</td></tr>
<tr class="separator:a18f083982b63f32ffb2b382569366b36 inherit pub_methods_class_s_p_h_1_1_interaction_dynamics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_particle_dynamics"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_particle_dynamics')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_particle_dynamics.html">SPH::ParticleDynamics&lt; void &gt;</a></td></tr>
<tr class="memitem:ac0b1853fed55e6d3f080f3317f875080 inherit pub_methods_class_s_p_h_1_1_particle_dynamics"><td class="memItemLeft" align="right" valign="top"><a id="ac0b1853fed55e6d3f080f3317f875080"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ParticleDynamics</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> &amp;sph_body)</td></tr>
<tr class="separator:ac0b1853fed55e6d3f080f3317f875080 inherit pub_methods_class_s_p_h_1_1_particle_dynamics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab84153bd29b90450a14c68750af60d1 inherit pub_methods_class_s_p_h_1_1_particle_dynamics"><td class="memItemLeft" align="right" valign="top"><a id="aab84153bd29b90450a14c68750af60d1"></a>
<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getSPHBody</b> ()</td></tr>
<tr class="separator:aab84153bd29b90450a14c68750af60d1 inherit pub_methods_class_s_p_h_1_1_particle_dynamics"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ae8882d0cb0bfbf66fc4b08546ff7dfca"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_combined_interaction_dynamics.html#ae8882d0cb0bfbf66fc4b08546ff7dfca">setupDynamics</a> (Real dt=0.0) override</td></tr>
<tr class="separator:ae8882d0cb0bfbf66fc4b08546ff7dfca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a397c553930862b39abdaacf315fb6450"><td class="memItemLeft" align="right" valign="top"><a id="a397c553930862b39abdaacf315fb6450"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>Interaction</b> (<a class="el" href="classsize__t.html">size_t</a> index_i, Real dt=0.0) override</td></tr>
<tr class="separator:a397c553930862b39abdaacf315fb6450"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_s_p_h_1_1_particle_dynamics"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_s_p_h_1_1_particle_dynamics')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_s_p_h_1_1_particle_dynamics.html">SPH::ParticleDynamics&lt; void &gt;</a></td></tr>
<tr class="memitem:a6c3ffa11bc0514cd9eb1537b79b4975c inherit pro_methods_class_s_p_h_1_1_particle_dynamics"><td class="memItemLeft" align="right" valign="top"><a id="a6c3ffa11bc0514cd9eb1537b79b4975c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setBodyUpdated</b> ()</td></tr>
<tr class="separator:a6c3ffa11bc0514cd9eb1537b79b4975c inherit pro_methods_class_s_p_h_1_1_particle_dynamics"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:aa65a694705094895f0a0bf2b44326d2f"><td class="memItemLeft" align="right" valign="top"><a id="aa65a694705094895f0a0bf2b44326d2f"></a>
<a class="el" href="class_s_p_h_1_1_interaction_dynamics.html">InteractionDynamics</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>dynamics_a_</b></td></tr>
<tr class="separator:aa65a694705094895f0a0bf2b44326d2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a971bdf66fc6becc6a9c2b24b2bee46cd"><td class="memItemLeft" align="right" valign="top"><a id="a971bdf66fc6becc6a9c2b24b2bee46cd"></a>
<a class="el" href="class_s_p_h_1_1_interaction_dynamics.html">InteractionDynamics</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>dynamics_b_</b></td></tr>
<tr class="separator:a971bdf66fc6becc6a9c2b24b2bee46cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_interaction_dynamics"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_interaction_dynamics')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_interaction_dynamics.html">SPH::InteractionDynamics</a></td></tr>
<tr class="memitem:a2d79cfd57642286dfcbb665dbec75c6c inherit pro_attribs_class_s_p_h_1_1_interaction_dynamics"><td class="memItemLeft" align="right" valign="top"><a id="a2d79cfd57642286dfcbb665dbec75c6c"></a>
<a class="el" href="namespace_s_p_h.html#aa72cf1f63790f923a029b77f683b9a5e">ParticleFunctor</a>&#160;</td><td class="memItemRight" valign="bottom"><b>functor_interaction_</b></td></tr>
<tr class="separator:a2d79cfd57642286dfcbb665dbec75c6c inherit pro_attribs_class_s_p_h_1_1_interaction_dynamics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_particle_dynamics"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_particle_dynamics')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_particle_dynamics.html">SPH::ParticleDynamics&lt; void &gt;</a></td></tr>
<tr class="memitem:a2c547f5f8f9cc2506a6a726fe59b270e inherit pro_attribs_class_s_p_h_1_1_particle_dynamics"><td class="memItemLeft" align="right" valign="top"><a id="a2c547f5f8f9cc2506a6a726fe59b270e"></a>
<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>sph_body_</b></td></tr>
<tr class="separator:a2c547f5f8f9cc2506a6a726fe59b270e inherit pro_attribs_class_s_p_h_1_1_particle_dynamics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfee6868ea8516ee575e7b9583230a1f inherit pro_attribs_class_s_p_h_1_1_particle_dynamics"><td class="memItemLeft" align="right" valign="top"><a id="adfee6868ea8516ee575e7b9583230a1f"></a>
<a class="el" href="class_s_p_h_1_1_s_p_h_adaptation.html">SPHAdaptation</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>sph_adaptation_</b></td></tr>
<tr class="separator:adfee6868ea8516ee575e7b9583230a1f inherit pro_attribs_class_s_p_h_1_1_particle_dynamics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30723682b9301b81211d9f1c0aec4f5c inherit pro_attribs_class_s_p_h_1_1_particle_dynamics"><td class="memItemLeft" align="right" valign="top"><a id="a30723682b9301b81211d9f1c0aec4f5c"></a>
<a class="el" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>base_particles_</b></td></tr>
<tr class="separator:a30723682b9301b81211d9f1c0aec4f5c inherit pro_attribs_class_s_p_h_1_1_particle_dynamics"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_class_s_p_h_1_1_interaction_dynamics"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_s_p_h_1_1_interaction_dynamics')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_s_p_h_1_1_interaction_dynamics.html">SPH::InteractionDynamics</a></td></tr>
<tr class="memitem:a05a62b2b63bf6bdbd5b0ddfd2de13d1a inherit pub_attribs_class_s_p_h_1_1_interaction_dynamics"><td class="memItemLeft" align="right" valign="top">StdVec&lt; <a class="el" href="class_s_p_h_1_1_particle_dynamics.html">ParticleDynamics</a>&lt; void &gt; * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_interaction_dynamics.html#a05a62b2b63bf6bdbd5b0ddfd2de13d1a">pre_processes_</a></td></tr>
<tr class="separator:a05a62b2b63bf6bdbd5b0ddfd2de13d1a inherit pub_attribs_class_s_p_h_1_1_interaction_dynamics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae4505de78f5a7b5417c2470251af2ad inherit pub_attribs_class_s_p_h_1_1_interaction_dynamics"><td class="memItemLeft" align="right" valign="top">StdVec&lt; <a class="el" href="class_s_p_h_1_1_particle_dynamics.html">ParticleDynamics</a>&lt; void &gt; * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_interaction_dynamics.html#aae4505de78f5a7b5417c2470251af2ad">post_processes_</a></td></tr>
<tr class="separator:aae4505de78f5a7b5417c2470251af2ad inherit pub_attribs_class_s_p_h_1_1_interaction_dynamics"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_attribs_class_s_p_h_1_1_global_static_variables"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_class_s_p_h_1_1_global_static_variables')"><img src="closed.png" alt="-"/>&#160;Static Public Attributes inherited from <a class="el" href="class_s_p_h_1_1_global_static_variables.html">SPH::GlobalStaticVariables</a></td></tr>
<tr class="memitem:ade84c016ddfa66794108619277313c82 inherit pub_static_attribs_class_s_p_h_1_1_global_static_variables"><td class="memItemLeft" align="right" valign="top">static Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_global_static_variables.html#ade84c016ddfa66794108619277313c82">physical_time_</a> = 0.0</td></tr>
<tr class="separator:ade84c016ddfa66794108619277313c82 inherit pub_static_attribs_class_s_p_h_1_1_global_static_variables"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This is the class for combining several interactions dynamics, which share the particle loop but are independent from each other, aiming to increase computing intensity under the data caching environment. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="ae8882d0cb0bfbf66fc4b08546ff7dfca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8882d0cb0bfbf66fc4b08546ff7dfca">&#9670;&nbsp;</a></span>setupDynamics()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::CombinedInteractionDynamics::setupDynamics </td>
          <td>(</td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>dt</em> = <code>0.0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>the function for set global parameters for the particle dynamics </p>

<p>Reimplemented from <a class="el" href="class_s_p_h_1_1_particle_dynamics.html#ab027ee6fb13881db2bc8277ef56d4b58">SPH::ParticleDynamics&lt; void &gt;</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/particle_dynamics/<a class="el" href="particle__dynamics__algorithms_8h_source.html">particle_dynamics_algorithms.h</a></li>
<li>SPHINXsys/src/shared/particle_dynamics/<a class="el" href="particle__dynamics__algorithms_8cpp.html">particle_dynamics_algorithms.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
